﻿@model IEnumerable<MAPDavy.Entities.ScoreDTO>

@{
    ViewBag.Title = "demo";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>demo</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            ScoreId
        </th>
        <th>
            MatriculaId
        </th>
        <th>
            TestGradeId
        </th>
        <th>
            TestId
        </th>
        <th>
            StudentId
        </th>
        <th>
            Student
        </th>
        <th>
            GradeLevel
        </th>
        <th>
            ClassName
        </th>
        <th>
            RIT
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.ScoreId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.MatriculaId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TestGradeId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TestId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.StudentId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Student)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.GradeLevel)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ClassName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.RIT)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
    </tr>
}

</table>
